<div class="card">
  <div class="card-header">
  登录
  </div>
  <div class="card-body">
    
    <div class="form-group">
      <label for="exampleInputEmail1">用户名：</label>
      <input type="text" class="form-control" id="exampleInputEmail1"
       aria-describedby="emailHelp" placeholder="请输入您的用户名" [(ngModel)]="loginform.username">
    </div>

    <div class="form-group">
      <label for="exampleInputEmail12">密码：</label>
      <input type="password" class="form-control" id="exampleInputEmail12"
       aria-describedby="emailHelp" placeholder="请输入您的密码" [(ngModel)]="loginform.pass">
    </div>

    <div class="form-group">
      
      <button type="button" class="btn btn-primary" (click)="login()">登录</button>
      <button type="button" class="btn btn-danger" (click)="reset()">重置</button>
      
    </div>

  </div>
</div>